package com.lglbc.langchain4jdemo;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(wiringMode = EXPLICIT, chatModel = "qwenChatModel",chatMemoryProvider = "chatMemoryProvider")
public interface AssistantWithMemoryId {
    String ask(@MemoryId int memoryId, @UserMessage String question);
}
